tools/ocaml: Release the global lock before invoking block syscalls
authorYang Qian <yang.qian@citrix.com>
Mon, 8 Oct 2018 03:10:14 +0000 (11:10 +0800)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 8 Oct 2018 09:58:55 +0000 (10:58 +0100)
commit7b20a865bc105fe566156201c8e6c37ef692e3dd
tree4ec6d9ad00f41f87b6acb727df97a2020ea31990
parent91d4eca7add6a7a114bc05cc6d38223a0c0b5575
tools/ocaml: Release the global lock before invoking block syscalls

Functions related with event channel are parallelizable, so release global
lock before invoking C function which will finally call block syscalls.

Signed-off-by: Yang Qian <yang.qian@citrix.com>
Acked-by: Christian Lindig <christian.lindig@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/ocaml/libs/eventchn/xeneventchn_stubs.c